[VTD] dynamically determines whether to link with libpci or not in QEMU.
authorKeir Fraser <keir@xensource.com>
Thu, 20 Sep 2007 08:40:49 +0000 (09:40 +0100)
committerKeir Fraser <keir@xensource.com>
Thu, 20 Sep 2007 08:40:49 +0000 (09:40 +0100)
commit563517920ce09cb84c92b2348ed8b54dd2bf8bb9
treec6009c5789c80200508b34a26aac5dc44a7e5dd4
parent72f379b5b2a00489b5cbd10277ab4b7f7e9d0b71
[VTD] dynamically determines whether to link with libpci or not in QEMU.

This patch to ioemu/Makefile.target dynamically decides whether to
link with libpci or not base on the existence of /usr/include/pci
directory.

If /usr/include/pci exists, PCI passthrough is enabled.  Otherwise, it
is disabled.

Signed-off-by: Allen Kay <allen.m.kay@intel.com>
tools/ioemu/Makefile.target